The following code shows how the print date, as set in the report, can be retrieved using PEGetPrintDate and changed using PESetPrintDate:
short year,
month,
day;
if (!PEGetPrintDate(Job, &year, &month, &day)){
// Handle error
}
short year,
month,
day;
year = 1999;
month = 05;
day = 30;
if (!PESetPrintDate(Job, year, month, day)){
// Handle error
}
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |